/* 
 * File:   Buyable.h
 * Author: yuu
 *
 * Created on September 6, 2011, 6:55 PM
 */

#include "Player.h"
using namespace std;
#ifndef BUYABLE_H
#define	BUYABLE_H
class Street;

class Buyable : public Cell {
public:
    Buyable();
    Buyable(const Buyable& orig);
    virtual ~Buyable();
    virtual void LandAction(Player p)= 0;
protected:
    /**
     * owner of the property
     */
    Player owner;
    /**
     * street the property belongs to
     */
    Street* st;
    /**
     * value of the rent
     */
    int rent;
    /**
     * value of the house + invests
     */
    int value;
};

#endif	/* BUYABLE_H */

